import _axios from "@/plugins/axios";

let baseUrlPrefix = "/engine/config/rule";

export const fetchBaseRuleConfig = (currentPage, pageSize) => {
  return _axios.get(baseUrlPrefix + '/pageList', {
    "params": {
      currentPage: currentPage,
      pageSize: pageSize
    }
  })
}

export const addBaseRule = params => {
  return _axios.post(baseUrlPrefix + '/add', params)
}

